package com.yanqu.road.server.timer.activity;

import com.yanqu.road.server.gameplayer.GamePlayer;
import com.yanqu.road.server.gameplayer.module.activity.recallplayer.RecallPlayerModule;
import com.yanqu.road.server.manger.player.GamePlayerMgr;
import com.yanqu.road.utils.executor.GeneralTask;

public class RecallPlayerBindTaskSyncTask extends GeneralTask {

    @Override
    public void doRun() {
        try {
            for (GamePlayer player : GamePlayerMgr.getPlayerMap().values()) {
                player.getModule(RecallPlayerModule.class).syncBindPlayerTaskData();
            }
        } catch (Exception e) {

        }
    }
}
